]> dgit.raspbian.org Git - gnome-shell.git/commit
MessageTray: fix unexpanded height when receiving multiple telepathy messages
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 8 Sep 2012 16:54:50 +0000 (18:54 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 10 Sep 2012 08:41:37 +0000 (10:41 +0200)
commit9f48adcff9692ef6ac70df2e806d72841ded3b8c
tree4471458e2a664f15b517167a20abba2948285836
parent48e7d732b9c100340434de4b38706d3c7ae8346d
MessageTray: fix unexpanded height when receiving multiple telepathy messages

ClutterBinLayout is so amazingly broken: it uses the y_expand property to
find out if the children needs to honor alignment/fill, but that property is
"bubbled up" from the grand-children, so the notificationWidget would notice
the y_expand on the notificationBin (necessary to make the layout manager on
notificationWidget honor the alignment property for the bin), and would
receive the full height of the MessageTray actor from the parent's layout manager,
resulting in a notificationWidget shifting up, with the notification detached
from the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=683628
js/ui/messageTray.js